using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;

namespace VisualWebGuiApplication2
{
    [Serializable]
    public partial class ListViewControlPanel : UserControl
    {
        public ListViewControlPanel()
        {
            InitializeComponent();
        }


        public string Amount
        {
            get
            {
                return textAmount.Text;
            }
            set
            {
                textAmount.Text = value;
            }
        }

        public string Note
        {
            get
            {
                return txtNote.Text;
            }
            set
            {
                txtNote.Text = value;
            }
        }

        public string  DateOfOperaTion
        {
            get
            {
                return datepicDateOfDone.Value.ToString("dd/MM/yyyy");
            }
            set
            {
                if (!string.IsNullOrEmpty( value))
                {
                    datepicDateOfDone.Value = Convert.ToDateTime(value);
                }
            }
        }


        public bool usevalues
        {
            get
            {
                return checkBox1.Checked;
            }
            set
            {
                checkBox1.Checked = Convert.ToBoolean(value);
            }
        }
    

     

    }
}